package com.crh.bean;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author Chrui
 * @date 2018/10/09__11:29
 */
@Component
public class Jobs implements Serializable {
    private Integer jobId;
    private String jobName;

    public Jobs() {
    }

    public Jobs(Integer jobId, String jobName) {
        this.jobId = jobId;
        this.jobName = jobName;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    @Override
    public String toString() {
        return "Jobs{" +
                "jobId=" + jobId +
                ", jobName='" + jobName + '\'' +
                '}';
    }
}
